home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 7 / developer source - volume 7.iso / msysj / nov96 / dilaf104.gif < prev    next >
Graphics Interchange Format  |  1997-04-17  |  65KB  |  654x325  |  4-bit (16 colors)
Labels: text | screenshot | font | parallel
OCR: Tour APP Windows /main loop in PumpMessage while (: GetMessage( ""){ "DispatchMessage{): 1. DispatchMessage calls into Windows 2. Windows calls AfxWndProc molde Windows Yyou don't know 3. SendMessage calls Into Windows what state Is changed or what. Nocoss bound alos ar crossod Never throw an. 30 assume a process boundary exception across X crosses with auch coll Tinto Windows. callback boundaries 4. Windows calls back into AfxWndProo andı 5. SendMessage calls into Windows w- Call Stack Atx Wodproct) 6. Windows calls back Into AfxWndProc 7. An exception Is thrown to the nearest AfxWndProc (actually AfxCallWndProc] on the call stack Figure 4 Handling exceptions in AfxWadProc avoids throwing across callback boundary